#!coding:utf-8
'''
Created on Feb 5, 2013

@author: join
'''
from django import template
register = template.Library()

@register.filter(name='handle_ssq_awardcode')   
def handle_ssq_awardcode(value):
    try:
        if len(value) < 2:
            value = '%s%s'%('0',value)
        return value
    except:
        return value